package com.course.dto.resp;

import com.alibaba.fastjson.JSONObject;
import com.course.entity.Permission;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Copyright: Copyright (c)  林中小鸟  All rights reserved.
 * @author: moon
 * @date: 2022/9/20 14:37
 * @Description: **********************
 */
@Data
public class ResponsePermissiom {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private Long pid;
    private String name;
    private String value;
    private Integer type;
    private String uri;
    private Integer status;
    private String component;
    private Integer sort;
    private List<Permission> children = new ArrayList<>();
    private JSONObject meta;
    private String path;
}
